<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
  <style>
  
  
  .button { float:left; margin: 0px 5px 0px 5px; padding: 0px 5px 0px 5px; background-color:gray }
  </style>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <script src="./core/event.js"></script>
<script>

function OnLoad()
{
  try
  {
    window.fo = window.parent.fo;
    window.model = fo.model;
    window.ctrl = fo.ctrl;
    window.launcher = fo.launcher;
    Event.add( document.getElementById("friend-list"), "click", function(){ launcher.exec("friend-list"); });
  }
  catch(e)
  {
    alert(e.message);
  }
}

Event.add(window, 'load', OnLoad)
</script>
</HEAD>
<BODY>
<div id = "main">
  <div id = "online-list" class="button"><a href="">Где я</a></div>
  <div id = "friend-list" class="button"><a href="">Друзья</a></div>
  <div id = "contact-list" class="button"><a href="">Конакты</a></div>
  <div id = "chat-list" class="button"><a href="">Чаты</a></div>
  <div id = "event-list" class="button"><a href="">Уведомления</a></div>
  <div id = "event-list" class="button"><a href="">Apps</a></div>
</div>
</BODY>
</HTML>
